package com.gxa.meiye.admin.shop.service.impl;

import com.gxa.meiye.admin.shop.mapper.EditPwdMapper;
import com.gxa.meiye.admin.shop.service.EditPwdService;
import com.gxa.meiye.core.pojo.shopManagement.Shop;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author cc
 * @PackageName meiye
 * @Package com.gxa.meiye.admin.shop.service.impl
 * @Date 2022/7/25 14:15
 * @Version 1.0
 */
@Service
public class EditPwdServiceImpl implements EditPwdService {
@Autowired
private EditPwdMapper editPwdMapper;

    @Override
    public void editPwdByEmail(Shop shop) {
        editPwdMapper.updatePwdByEmail(shop);
    }

    @Override
    public String queryPwdByEmail(Shop shop) {
        return editPwdMapper.selectPwdByEmail(shop);
    }
}
